<div class="form">

    <h2>用户登录</h2>

    <table>
        <form action="index.php?r=app/user/login" method="post">

             <tr>
                <td>姓名：</td><td><input type="text" name="user[name]"></td>
            </tr>
            <tr>
                <td>密码：</td><td><input type="password" name="user[password]"></td>
            </tr>
                <td><input type="submit" value="登录"></td><td></td>
            </tr>
        </form>
    </table>     
 </div>